Skip to content

build(deps): bump @mastra/memory from 1.6.1 to 1.9.0#341

Closed
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/mastra/memory-1.9.0
Closed

build(deps): bump @mastra/memory from 1.6.1 to 1.9.0#341
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/mastra/memory-1.9.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 23, 2026

Bumps @mastra/memory from 1.6.1 to 1.9.0.

Release notes

Sourced from @​mastra/memory's releases.

March 4, 2026

Highlights

Major Workspace & Sandbox upgrades (token-aware output, mounts, process control, LSP resolution)

Workspaces get significant capabilities: workspace tool output is now token-limited, ANSI-stripped for model context, and .gitignore-aware to reduce token usage. Sandbox commands support abortSignal for cancellation, plus background process streaming callbacks (onStdout/onStderr/onExit), and local symlink mounts in LocalSandbox. Tools can be exposed under custom names via WorkspaceToolConfig.name. LSP binary resolution is now configurable (binaryOverrides, searchPaths, packageRunner), making workspace diagnostics work reliably across monorepos, global installs, and custom setups.

End-to-end Auth + RBAC across Server, Studio, and Providers

Mastra now ships a pluggable auth system (@mastra/core/auth) plus server-side auth routes and convention-based route permission enforcement (@mastra/server + all server adapters). New auth provider packages (@mastra/auth-cloud, @mastra/auth-studio, @mastra/auth-workos) add OAuth/SSO, session management, and RBAC—Studio UI also gains permission-gated auth screens/components.

Workflow execution path tracking + concurrent-safe workflow snapshot updates

Workflow results now include stepExecutionPath (also available mid-execution and preserved across resume/restart), and execution logs are smaller by deduping payloads. Storage backends add atomic updateWorkflowResults/updateWorkflowState with a supportsConcurrentUpdates() check—enabling safer concurrent workflow updates (supported in e.g. Postgres/LibSQL/MongoDB/DynamoDB/Upstash; explicitly not supported in some backends like ClickHouse/Cloudflare/Lance).

Breaking Changes

  • harness.sendMessage() now uses files instead of images (supports any file type, preserves filenames, and auto-decodes text-based files).

Changelog

@​mastra/core@​1.9.0

Minor Changes

  • Added onStepFinish and onError callbacks to NetworkOptions, allowing per-LLM-step progress monitoring and custom error handling during network execution. Closes #13362. (#13370)

    Before: No way to observe per-step progress or handle errors during network execution.

    const stream = await agent.network('Research AI trends', {
      memory: { thread: 'my-thread', resource: 'my-resource' },
    });

    After: onStepFinish and onError are now available in NetworkOptions.

    const stream = await agent.network('Research AI trends', {
      onStepFinish: event => {
        console.log('Step completed:', event.finishReason, event.usage);
      },
      onError: ({ error }) => {
        console.error('Network error:', error);
      },
      memory: { thread: 'my-thread', resource: 'my-resource' },
    });
  • Add workflow execution path tracking and optimize execution logs (#11755)

    Workflow results now include a stepExecutionPath array showing the IDs of each step that executed during a workflow run. You can use this to understand exactly which path your workflow took.

... (truncated)

Changelog

Sourced from @​mastra/memory's changelog.

1.9.0

Minor Changes

  • Added experimental retrieval-mode recall tooling for observational memory. (#14437)

    When observationalMemory.retrieval is enabled with scope: 'thread', observation groups store colon-delimited message ranges (startId:endId) pointing back to the raw messages they were derived from. A recall tool is registered that lets agents retrieve those source messages via cursor-based pagination.

    The recall tool supports:

    • Detail levels: detail: 'low' (default) returns truncated text with part indices; detail: 'high' returns full content clamped to one part per call with continuation hints
    • Part-level fetch: partIndex targets a single message part at full detail
    • Pagination flags: hasNextPage and hasPrevPage in results
    • Token limiting: results are capped at a token budget with truncated and tokenOffset reporting
    • Smart range detection: passing a range as a cursor returns a helpful hint explaining how to extract individual IDs
  • Added opt-in Observational Memory thread titles. (#14436)

    When enabled, the Observer suggests a short thread title and updates it as the conversation topic changes. Harness consumers can detect these updates via the new om_thread_title_updated event.

    Example

    const memory = new Memory({
      options: {
        observationalMemory: {
          observation: {
            threadTitle: true,
          },
        },
      },
    });

Patch Changes

1.9.0-alpha.2

Minor Changes

  • Added experimental retrieval-mode recall tooling for observational memory. (#14437)

    When observationalMemory.retrieval is enabled with scope: 'thread', observation groups store colon-delimited message ranges (startId:endId) pointing back to the raw messages they were derived from. A recall tool is registered that lets agents retrieve those source messages via cursor-based pagination.

    The recall tool supports:

... (truncated)

Commits
  • 21f5a3e chore: version - exit prerelease mode
  • a79e484 chore: version packages
  • da93115 feat(memory): add thread-scoped retrieval for observational memory (#14437)
  • b558156 fix(memory): improve LLM test skip logic and recording-aware test infrastruct...
  • 98fb86f chore: version packages
  • 681ee1c feat: generate thread titles in observer (#14436)
  • aa664b2 feat: track completed observational tasks (#14419)
  • 6dd73cd chore: version packages
  • 2303732 chore: version - exit prerelease mode
  • 52715cf chore: version packages (alpha) (#14427)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 23, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/mastra/memory-1.9.0 branch from 5ab1969 to 6692eab Compare March 23, 2026 05:09
Bumps [@mastra/memory](https://github.com/mastra-ai/mastra/tree/HEAD/packages/memory) from 1.6.1 to 1.9.0.
- [Release notes](https://github.com/mastra-ai/mastra/releases)
- [Changelog](https://github.com/mastra-ai/mastra/blob/main/packages/memory/CHANGELOG.md)
- [Commits](https://github.com/mastra-ai/mastra/commits/@mastra/memory@1.9.0/packages/memory)

---
updated-dependencies:
- dependency-name: "@mastra/memory"
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/mastra/memory-1.9.0 branch from 6692eab to 5abf3d7 Compare March 23, 2026 08:57
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 30, 2026

Superseded by #392.

@dependabot dependabot Bot closed this Mar 30, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/mastra/memory-1.9.0 branch March 30, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants